package com.lbz.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private Integer id;

    private Long orderNo;   //订单号

    private Integer userId;

    private Integer shippingId;

    private Integer status; //订单状态:0-已取消-10-未付款，20-已付款，40-已发货，50-交易成功，60-交易关闭

    private BigDecimal payment; //订单金额

    private Integer paymentType;    //支付方式

    private Integer postage;

    private Date paymentTime;

    private Date deliveryTime;

    private Date endTime;

    private Date closeTime;

    private Date createTime;

    private Date updateTime;

}